feat: infographic-driven Remotion — multi-image cycling, no text overlays (Task B)#639
Merged
codercatdev merged 1 commit intodevfrom Mar 13, 2026
Merged
Conversation
… no text overlays
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
codercatdev
added a commit
that referenced
this pull request
Mar 13, 2026
Sprint 1: Infographic-driven explainer videos\n\nTask A (PR #638): Schema + buildPrompt — imagePrompts[] per scene, infographicsHorizontal/Vertical arrays, Gemini prompt template\nTask B (PR #639): Remotion rewrite — multi-image cycling with crossfade, NO text overlays, backward compat\nTask C (PR #640): Infographic generation — dual orientation (16:9 + 9:16), per-scene prompts, Sanity upload, scene-level URL distribution\n\nBuild verified: tsc clean, Node 22.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task B: Infographic-Driven Remotion Compositions
Overnight Sprint 1 — Rewrite Remotion for infographic-first explainer videos per Alex's direction: images cycling every 3-5 seconds, NO text overlays on screen.
Changes (5 files, +205 -289)
remotion/types.ts(+13)infographicUrls: z.array(z.string().url()).optional()to sceneDataSchemaimagePrompts: z.array(z.string()).optional()to sceneDataSchemaInfographicCycleScenePropsinterfaceremotion/components/InfographicScene.tsx(FULL REWRITE)infographicUrls: string[], cycles every ~4 seconds (configurablesecondsPerImage)interpolate()infographicUrl(wrapped in array)<Img>, all animation viauseCurrentFrame()+interpolate()remotion/components/SceneRouter.tsx(+33 -15)Updated routing priority:
infographicUrls[]→ InfographicScene (multi-image cycling) ← NEWinfographicUrlsingle → InfographicScene (wrapped) ← existing, moved downremotion/components/Scene.tsx(+10 -75)remotion/constants.ts(+4 -6)INFOGRAPHIC_COLORS: removedfocusGlow/captionBg, addedcrossfadeBgNOT modified
MainVideo.tsx/ShortVideo.tsx— no changes needed (use SceneRouter)HookScene.tsx/CTAScene.tsx— branded intro/outro, left as-isSchema contract (from @content PR #638)
script.scenes[].imagePrompts: string[]— per-scene promptsscript.scenes[].infographicUrls: string[]— generated image URLs for cyclinginfographicsHorizontal/infographicsVertical— Sanity image assets at doc rootScope
✅ Only
remotion/files — no other files touched.